package com.shycloud.mido.member.api.dto;

import com.shycloud.mido.member.api.entity.Member;
import com.shycloud.mido.member.api.vo.MemberDetailForLoginVO;
import lombok.Data;

import java.io.Serializable;

/**
 * @author npc
 * @date 2017/11/11
 * <p>
 * commit('SET_ROLES', data)
 * commit('SET_NAME', data)
 * commit('SET_AVATAR', data)
 * commit('SET_INTRODUCTION', data)
 * commit('SET_PERMISSIONS', data)
 */
@Data
public class MemberLoginInfo implements Serializable {
	/**
	 * 用户基本信息
	 */
	private MemberDetailForLoginVO member;
	/**
	 * openId
	 */
	private String openId;

	/**
	 * 状态：code无效：-1，查无此用户：0，登录成功：1
	 */
	private String status ;
}
